package com.demo.drools.dal.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * @author ZhouSicheng
 * @description
 * @date 2018/8/29 下午2:58
 */
public enum StatusTypeEnum {

    DISABLE(0, "无效"),
    ENABLE(1, "有效"),;

    @EnumValue
    private Integer code;

    private String description;

    StatusTypeEnum(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }


}
